package com.lecyon.farm.vo.request;

import com.google.common.collect.Lists;
import com.lecyon.farm.base.BaseVo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * 包含id和IdList的对象，用于删除记录
 *
 * @author Yao Zheng
 */
@ApiModel(value = "包含id和IdList的对象，用于删除记录")
@Data
public class IdsVo extends BaseVo {

    @ApiModelProperty(value = "要删除记录的id")
    private Long id;

    @ApiModelProperty(value = "要删除记录的ids集合")
    private List<Long> idsList = Lists.newArrayList();
}
